﻿using System;
using System.Collections.Generic;
using IDAL.RF.JointingCheck;
using Model.RF.JointingCheck;

namespace BLL.RF.JointingCheck
{
    public class JointingFailure_Q
    {
        private static readonly IJointingFailure_Q dal = DALFactory.DataAccess.CreateJointingFailure_Q();

        public IList<JointingFailure_QInfo> GetJointingFailure_Q_JointingCheckbyDT(DateTime starttime, DateTime stoptime)
        {
            return dal.GetJointingFailure_Q_JointingCheckbyDT(starttime, stoptime);
        }
        
        public IList<JointingFailure_QInfo> GetJointingFailure_Q_QCFixedCheckbyDT(DateTime starttime, DateTime stoptime)
        {
            return dal.GetJointingFailure_Q_QCFixedCheckbyDT(starttime, stoptime);
        }

        public IList<JointingFailure_QInfo> GetJointingFailure_Q_PackCheckbyDT(DateTime starttime, DateTime stoptime)
        {
            return dal.GetJointingFailure_Q_PackCheckbyDT(starttime, stoptime);
        }

        public IList<JointingFailure_QInfo> GetJointingFailure_Q_JointingCheckbyPIDDT(string productTypeID, DateTime starttime, DateTime stoptime)
        {
            return dal.GetJointingFailure_Q_JointingCheckbyPIDDT(productTypeID, starttime, stoptime);
        }

        public IList<JointingFailure_QInfo> GetJointingFailure_Q_QCFixedCheckbyPIDDT(string productTypeID, DateTime starttime, DateTime stoptime)
        {
            return dal.GetJointingFailure_Q_QCFixedCheckbyPIDDT(productTypeID, starttime, stoptime);
        }

        public IList<JointingFailure_QInfo> GetJointingFailure_Q_PackCheckbyPIDDT(string productTypeID, DateTime starttime, DateTime stoptime)
        {
            return dal.GetJointingFailure_Q_PackCheckbyPIDDT(productTypeID, starttime, stoptime);
        }

        public IList<JointingFailure_QInfo> GetJointingFailure_Q_JointingCheckbyCIDDT(string customerID, DateTime starttime, DateTime stoptime)
        {
            return dal.GetJointingFailure_Q_JointingCheckbyCIDDT(customerID, starttime, stoptime);
        }

        public IList<JointingFailure_QInfo> GetJointingFailure_Q_QCFixedCheckbyCIDDT(string customerID, DateTime starttime, DateTime stoptime)
        {
            return dal.GetJointingFailure_Q_QCFixedCheckbyCIDDT(customerID, starttime, stoptime);
        }

        public IList<JointingFailure_QInfo> GetJointingFailure_Q_PackCheckbyCIDDT(string customerID, DateTime starttime, DateTime stoptime)
        {
            return dal.GetJointingFailure_Q_PackCheckbyCIDDT(customerID, starttime, stoptime);
        }
    }
}
